package JSwing;

/**
 *Utility.java
 */
public class Utility {
    public Utility() {}

    public static void sleep(int nSecond) {
        try{
            Thread.sleep(nSecond);
        }
        catch(Exception e) {
            e.printStackTrace ();
        }
    }

    public  static  void stop(){
        Thread.interrupted();
    }
    public static void log(String sMsg) {
        System.err.println(sMsg);
    }
    public static void log(int sMsg) {
        System.err.println(sMsg);
    }
}